package define;

import java.util.LinkedList;

import model.RefreshStatusItem;
import utils.Utils;

public class Constants {
	/**
	 * API
	 */
	// Submit API
	public static final String HB = "HB"; // "refresh";
	public static final String INIT = "init"; // "init";
	public static final String PAUSE = "pause"; // "pause";
	public static final String RESUME = "resume"; // "resume";
	public static final String STOP = "stop"; // "stop";
	public static final String STOPPED = "stopped"; // "stopped";
	public static final String SUBMIT = "submit"; // "submit";
	public static final String SUBMITTED = "submitted"; // "submitted";

	public static final String TRUE = "true";
	public static final String FALSE = "false";
	/**
	 * Tab
	 */
	// Status
	public static final int STATUS_TAB_SIZE = 4;

	/**
	 * Country
	 */
	public static final String RATE = " Cr ";

	/**
	 * CSV file
	 */
	public static final String FILE_CSV = "countries.csv";
	public static final int FILE_CSV_COUNTRY_ID_COLUMN = 0;
	public static final int FILE_CSV_COUNTRY_NAME_COLUMN = 2;

	/**
	 * Sale type
	 */
	public static final String SALE_TYPE_ALL = "all";
	public static final String SALE_TYPE_AUCTION = "auction";
	public static final String SALE_TYPE_FIXED = "fixed";

	public static final String MIME_TYPE = "video/mp4";

	/**
	 * Selling index
	 */
	public static final int SELLING_ALL = 3;
	public static final int SELLING_AUCTION = 1;
	public static final int SELLING_MARKET_PLACE = 2;
	public static final int SELLING_PRIVACY = 0;

	public static final int STATE_UPLOAD = 0;
	public static final int STATE_CONVERT = 1;
	public static final int STATE_DONE = 2;

	public static final int TAB_UPLOAD = 0;
	public static final int TAB_PRIORITY_LIST = 1;
	public static final int TAB_CONVERT = 2;
	public static final int TAB_COMPLETED = 3;

	/**
	 * The other data
	 */
	public static boolean REFRESH_IN_UPLOAD = true;
	public static boolean FIRST_LAUNCH_TIME = true;
	public static boolean FIRST_LAUNCH_TIME_IN_PRIORITY_LIST = true;

	public static LinkedList<String> mLlIncreasedSizePriority = null;
	public static LinkedList<String> mLlIncreasedSizeRefresh = new LinkedList<String>();
	public static LinkedList<RefreshStatusItem> mLlItems = new LinkedList<RefreshStatusItem>();
	public static LinkedList<RefreshStatusItem> mLlItemsCopyRefreshStatus = new LinkedList<RefreshStatusItem>();

	/**
	 * The other tools
	 */
	public static Utils utils;
}
